package com.sylar.happygps;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class ContactusActivity extends Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.contactus);
		
		Button btn_title_left = (Button) findViewById(R.id.btn_title_left);
		btn_title_left.setText(R.string.app_name);
		btn_title_left.setVisibility(View.VISIBLE);
		btn_title_left.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				finish();
			}
		});
		
		Button btn_title_right = (Button) findViewById(R.id.btn_title_right);
		btn_title_right.setText("发送");
		btn_title_right.setVisibility(View.VISIBLE);
		btn_title_right.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				
			}
		});
		
		TextView tv_title_name = (TextView) findViewById(R.id.tv_title_name);
		tv_title_name.setText("撰写邮件");
	}
	
	
}
